package com.pearadmin.pro.modules.paper.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.modules.paper.dto.ext.PaperQuAnswerExtDTO;
import com.pearadmin.pro.modules.paper.entity.PaperQuAnswer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 试卷考题备选答案业务类
 * @author ZhouXingYun
 * @date 2022/5/23 17:48
 */
public interface PaperQuAnswerService extends IService<PaperQuAnswer> {

    /**
     * 查找试卷试题答案列表
     * @author ZhouXingYun
     * @date 2022/5/23 17:49
     * @param paperId
     * @param quId
     * @return java.util.List<com.pearadmin.pro.modules.paper.dto.ext.PaperQuAnswerExtDTO>
     */
    List<PaperQuAnswerExtDTO> listForExam(String paperId, String quId);


    /**
     * 查找答案列表，用来填充
     * @author ZhouXingYun
     * @date 2022/5/24 16:16
     * @param paperId
     * @param quId
     * @return java.util.List<com.pearadmin.pro.modules.paper.entity.PaperQuAnswer>
     */
    List<PaperQuAnswer> listForFill(String paperId, String quId);
}
